test: unitTest.cpp ../../src/CentralCache.cpp ../../src/ThreadCache.cpp ../../src/PageCache.cpp ../../src/ConcurrentAlloc.cpp
	# 直接编译测试代码 + 所有src源码，无需链接库
	g++ -o $@ $^ -lpthread -I ../../include -std=c++11

.PHONY: clean
clean:
	rm -f test